Skip to content

Conversation

@jwilkinson87
Copy link
Contributor

This pull request refactors filter-related parameters and expressions across several request classes to improve naming consistency and simplify filter usage. The main changes include renaming the filterOptions parameter to filters throughout the codebase and updating the FieldFilterExpression to accept a single value instead of a list. Related tests have been updated accordingly.

Parameter Renaming and Consistency:

  • Renamed the filterOptions parameter to filters in all relevant request parameter classes, such as RequestParameters, RequestParametersWithIncludes, and their subclasses (e.g., EquipmentRequestParameters, VehicleRequestParameters, etc.), to improve naming consistency. All constructor usages and superclass calls were updated to match. [1] [2] [3] [4] [5] [6] [7]

Filter Expression Simplification:

  • Changed FieldFilterExpression to accept a single value: String instead of a list of values, and updated its format() method to reflect this change.

Test Updates:

  • Updated all usages of FieldFilterExpression in RequestParametersFiltersTest to use a single value, and replaced filterOptions with filters in test parameter construction to align with the new API. [1] [2] [3]

@github-actions
Copy link

There is a problem with the Gemini CLI PR review. Please check the action logs for details.

@jwilkinson87 jwilkinson87 merged commit 4e9005c into main Oct 15, 2025
2 of 3 checks passed
@jwilkinson87 jwilkinson87 deleted the fix/filter-request-parameters branch October 15, 2025 15:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants